Solving Difficult HTM Problems Without Difficult Hardware
نویسندگان
چکیده
There are several classes of operations, including I/O and memory allocation, that are considered difficult to perform as part of a transaction. To allow such operations inside of transactions, previous hardware transactional memory systems have proposed additional mechanisms such as opennested transactions that use hardware management of software handlers. Open-nested transactions are not necessary, and add significant complexity to both HTM systems and the software written to take advantage of them. MetaTM is an HTM system designed to run TxLinux, an operating system that uses transactions for some synchronization. Inside the operating system, it is necessary to efficiently handle I/O and memory allocation. MetaTM and TxLinux handle both of these without requiring the significant extra hardware or overhead associated with open-nested transactions. The TxLinux kernel uses cooperative transactional spinlocks which provide the concurrency of transactions with the mutual exclusion needed to perform I/O. Through explicit management of transactional system calls, TxLinux ensures strong atomicity for system calls within a transaction, providing user-level transactions with a powerful and simple transactional programming model.
منابع مشابه
Non-volatile Hierarchical Temporal Memory: Hardware for Spatial Pooling
Hierarchical Temporal Memory (HTM) is a biomimetic machine learning algorithm imbibing the structural and algorithmic properties of the neocortex. Two main functional components of HTM that enable spatio-temporal processing are the spatial pooler and temporal memory. In this research, we explore a scalable hardware realization of the spatial pooler closely coupled with the mathematical formulat...
متن کاملUsing OPNET to Enhance Student Learning in a Data Communications Course
It is difficult to teach data communications because it involves complex, dynamic processes which are not visible to students and are hard for them to conceptualise. This paper describes a project to improve the learning of students enrolled in the data communications courses. In this project the traditional mode of teaching data communications was supplemented by a problem solving approach usi...
متن کاملThe Difficult Choice of “Not Doing”; Comment on “Quaternary Prevention, an Answer of Family Doctors to Overmedicalization”
The article of Marc Jamoulle shows the importance of the contribution of general practitioners (GPs) in improving the quality and the efficiency of the health systems. Starting from the concept of quaternary prevention for reducing excessive costs in the preventive procedures, he suggests a change of paradigm in every daily activity of the GP in order to have a stronger ethical approach to the ...
متن کاملProviding a Method for Solving Interval Linear Multi-Objective Problems Based on the Goal Programming Approach
Most research has focused on multi-objective issues in its definitive form, with decision-making coefficients and variables assumed to be objective and constraint functions. In fact, due to inaccurate and ambiguous information, it is difficult to accurately identify the values of the coefficients and variables. Interval arithmetic is appropriate for describing and solving uncertainty and inaccu...
متن کاملTowards a Safer Interaction with Transactional Memory by Tracking Object Visibility
Lately there has been an increasing interest in Transactional Memory (TM), a programming API that helps programmers writing scalable concurrent programs using sequential code. It is well known that writing concurrent programs using locks is a difficult task: coarse grained locking results in poor performance, and fine grained locking introduces the risk of deadlocking, and makes program’s maint...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007